//
//  YJBBaseViewController.h
//  YunJiaBaoFirst
//
//  Created by 腾云小白龍 on 16/7/6.
//  Copyright © 2016年 腾云小白龍. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface YJBBaseViewController : UIViewController

//以颜色生成图片
- (UIImage*)ImageWithColor:(UIColor*)aColor;

//定时器
-(void)startTimer:(int)time;
-(void)stopTimer;
-(void)upDataWithTime;

//撤销SVProgressHUD
-(void)SVProgressHUDDismissWithTime:(CGFloat)time;

//导航栏设置 和 标题
-(void)setNavigationItemWithTitle:(NSString *)title;
//导航栏设置 和 标题
-(void)setNavigationTitle:(NSString*)title;

-(void)SVProgressHUDdismiss;

@end
